package einvoice

import (
	"encoding/xml"

	"github.com/bububa/opentaobao/model"
)

// AlibabaEinvoiceIncomeScanReturnAPIResponse 进项扫描状态回传 API返回值
// alibaba.einvoice.income.scan.return
//
// 回传进项扫描每个阶段的状态，比如ocr开始，ocr结束，查验开始，查验结束等
type AlibabaEinvoiceIncomeScanReturnAPIResponse struct {
	model.CommonResponse
	AlibabaEinvoiceIncomeScanReturnAPIResponseModel
}

// AlibabaEinvoiceIncomeScanReturnAPIResponseModel is 进项扫描状态回传 成功返回结果
type AlibabaEinvoiceIncomeScanReturnAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_einvoice_income_scan_return_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否回传成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}
